package com.example.controller;

import com.example.dto.BaseReq;
import com.example.dto.BaseResp;
import com.example.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AccountController {
    @Autowired
    private AccountService accountService;
    
    @RequestMapping("account")
    public BaseResp account(@RequestBody BaseReq req) {
        BaseResp baseResp = new BaseResp();
        accountService.account();
        return baseResp;
    }
}
